using Gateway.Infrastructure.AutoDI;
using Gateway.IQuery.RequestLog.Request;
using Gateway.IQuery.RequestLog.Result;

namespace Gateway.IQuery.RequestLog;

public interface IRequestLogQuery : IDependency
{
    /// <summary>
    /// 获取分页列表
    /// </summary>
    /// <param name="request"></param>
    /// <returns></returns>
    Task<PageResult<RequestLogDetailResult>> GetPage(RequestLogPageRequest request);


    /// <summary>
    /// 获取详情
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    Task<RequestLogDetailResult> GetDetail(string id);
}